<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="Site.Master" CodeBehind="QnA.aspx.cs" Inherits="FreeLancer.HRB.WebApp.QnA" Title="<%$ Resources:labels, qAFrontEnd %>"%>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<div>
  <div id="divPostComment" runat="server">
    <div class="comment-header">
      <span><%=Resources.labels.questionAndAnswer%></span>
    </div>
    <table style="width:100%;" cellspacing="10px">
      <tr>
        <td>
            <input style="width:100%; color: #AAAAAA;"
              type="text" 
              maxlength="128" 
              name="search_theme_form" 
              id="txtName" runat="server"
              value="<%$ Resources:labels, commentAuthor %>" 
              title="<%$ Resources:labels, commentAuthorTooltip %>" 
              class="form-text inputfocus" 
              onblur="<%$ Resources:labels, commentAuthorOnBlur %>" 
              onfocus="<%$ Resources:labels, commentAuthorOnFocus %>" />
        </td>
        <td>
          <input style="width:100%; color: #AAAAAA;"
              type="text" 
              maxlength="128" 
              name="search_theme_form" 
              id="txtAddress" runat="server"
              value="<%$ Resources:labels, commentAddress %>" 
              title="<%$ Resources:labels, commentAddressTooltip %>" 
              class="form-text inputfocus" 
              onblur="<%$ Resources:labels, commentAddressOnBlur %>" 
              onfocus="<%$ Resources:labels, commentAddressOnFocus %>" />
        </td>
      </tr>
      <tr>
        <td>
          <input style="width:100%; color: #AAAAAA;"
            type="text" 
            maxlength="128" 
            name="search_theme_form" 
            id="txtEmail" runat="server"
            value="<%$ Resources:labels, commentEmail %>" 
            title="<%$ Resources:labels, commentEmailTooltip %>" 
            class="form-text inputfocus" 
            onblur="<%$ Resources:labels, commentEmailOnBlur %>" 
            onfocus="<%$ Resources:labels, commentEmailOnFocus %>" />
        </td>
        <td>
          <input style="width:100%; color: #AAAAAA;"
            type="text" 
            maxlength="128" 
            name="search_theme_form" 
            id="txtPhone" runat="server"
            value="<%$ Resources:labels, commentPhone %>" 
            title="<%$ Resources:labels, commentPhoneTooltip %>" 
            class="form-text inputfocus" 
            onblur="<%$ Resources:labels, commentPhoneOnBlur %>" 
            onfocus="<%$ Resources:labels, commentPhoneOnFocus %>" />
        </td>
      </tr>
      <tr>
        <td colspan="2">
          <input style="width:100%; color: #AAAAAA;"
              type="text" 
              maxlength="128" 
              name="search_theme_form" 
              id="txtTitle" runat="server"
              value="<%$ Resources:labels, commentTitle %>" 
              title="<%$ Resources:labels, commentTitleTooltip %>" 
              class="form-text inputfocus" 
              onblur="<%$ Resources:labels, commentTitleOnBlur %>" 
              onfocus="<%$ Resources:labels, commentTitleOnFocus %>" />
        </td>
      </tr>
      <tr>
        <td colspan="2">
          <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" Width="100%" Rows="15"></asp:TextBox>
        </td>
      </tr>
    </table>
    <span id="lblValidation" style="color:Red;"></span>
    <div style="text-align: right;">
      <asp:Button ID="btnSend" runat="server" Width="70px" Text="<%$ Resources:labels, submit %>" 
        OnClick="btnSend_OnClick"/>
    </div>
    <div style="text-align:right; color:Red; margin-top: 10px;">
      <asp:Label runat="server" ID="lblErrorUpdateFailed" Visible="false"
        Text="<%$ Resources:labels, infoUpdateFailed %>"></asp:Label>
    </div>
  </div>
</div>

</asp:Content>